Fix conversion of package name with alias version