Strip entry point root access fixed, closes #936.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Fixed tickets | #936
| License       | MIT