Curse you, ruby, and your ambiguous grammar

Minor fix to how we override valueless directives.