correctly check software_license value type
Merge pull request #1124 from boegel/fix_software_license_check

correctly check software_license value type