Bugfix: Preparing clone url for file protocol,
adding junit tests for clone url preparing.