Fix crash when specifying an invalid repo with -r

Fixes:	#533
New release 1.1.4