quote test and subshell

yaml is fun and this ambiguity arises due to bash and yaml sharing
syntax.