Renamed printEnumMethods, and a quick fix.

Finding the available package names was wrongly done.