fixed repo name defaults and added error message