Allowing clone to empty folder

Changing [deprecated](http://stackoverflow.com/questions/321348/bash-if-a-vs-e-option) test expression