Fix for issue #234

Corrected direction of version comparison when setting package_name