rose metadata: fail-if: better syntax error

This closes #1218.

@kaday, please review.