Fix bug in directory whitelist. Run `phpunit --coverage-html` to reproduce the error.
Merge pull request #91 from ivanlanin/develop

Fix bug in directory whitelist