Fixing how conditional statement is evaluated, mirrors change to openstudio_dev.rb