When trying to qimport a url with a leading slash, qimport aborts saying that a patch with the same name already exists. The series tries to fix that by removing a leading slash and then inferring the patch name. It also improves the errors when the patch name that is passed is invalid.