Be careful with nulls...

Add a test for `env.supports("random-string-not-in-the-file")`... it will throw a NPE, if I'm not wrong.