Fixes #7428,BZ1120314 - Show user friendly error when no repo name

would it be simpler to have repository_create_params and repository_update_params? (not actually sure if it would, but the logic here seems more complex than what is ideal)