clone: fix creation of explicitly named target directory