Added dot (.) to the branch regex, now decoding the URL before matching to prevent the bug described in #1