encode package names with '-', when used in url