Fix redirects to work with subdirectory installations of pico