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

http://projects.theforeman.org/issues/7444