Fix mercury vendor regex

after merging master for the hundredth time, made a mistake so closing #1107 in favour for this new pull request.