exportRedirects: Add '$' to rewrite regex

Per @gnarf