added more error checking; output repo names;