Craftercms 180

Fixed bug that was causing empty path to be sent when requesting copy on empty and non-index folders (like /site/components)