fixed bug in isRepositoryURL