Bugfix for double copying some folders