fix failing lookup of packagename