Refactor guard condion to see if this evaluates properly on opsworks.