cloning a repository takes long

Issue #1528 resolved