make base_package_url consistent throughout lib

This should fix #6