spec simulating git clone
do not crash on empty strings