[ticket/develop/11832] Fix path detection

Clean up path, do not count first /

PHPBB3-11832