Fixed an issue where it would duplicate the package's directory. E.g. copy url.com/pkg to url.com/pkg/pkg