fix bug copy file #84

Replace path only if it begin by package_path
Issue #84