[ticket/develop/11832] Fix path detection

Clean up path, do not count first /

PHPBB3-11832
Merge pull request #1703 from cyberalien/ticket/develop/11832

Fix path detection
[prep-release-3.0.12] Remove changelog entry for ticket that was not resolved.

A wrong fix version was assigned to PHPBB3-11288.
Merge branch 'prep-release-3.0.12' into develop-olympus

* prep-release-3.0.12:
  [prep-release-3.0.12] Remove changelog entry for ticket that was not resolved.
Merge branch 'develop-olympus' into develop

* develop-olympus:
  [prep-release-3.0.12] Remove changelog entry for ticket that was not resolved.
Merge remote-tracking branch 'upstream/develop' into develop