allow an undef value in directives, and ignore it
Merge pull request #9 from thomasvs/master

allow an undef value in directives, and ignore it