[Closes #239] Corrected direction of version comparison when setting package_name