fixes empty remote repo name issues.