Fixed package name parser