We should make sure not to have path-seperators in basenames/prefixes
Merge pull request #1 from reload/feature/sanitize_package_paths

Sanitize package name.