Prevent parent directory as destination path