Feature/fix pretend copy bug

A small bugfix. 

From the commit description: "With both --copy and --pretend options selected a directory could sometimes be created in destination (it shouldn't be possible)."