handling repository with white spaces