Fix bug in api-ec2 monit + ssl recipe

fix for checking whether https is in use