Fixed not rendering environment when hash is in the url on prod

To see the issue visit http://comingsoon.jujucharms.com/sidebar/search/precise/mongodb-21/?text=mongodb#bws-code

To QA (locally):
make prod
visit <host>/sidebar/search/precise/mongodb-21/?text=mongodb#bws-code
You should get the mongodb charm with the code tab selected.

To QA (real env):
Deploy the ~juju-gui charm and change the juju-gui source to `https://github.com/hatched/juju-gui.git render-app-hash`
visit <host>/sidebar/search/precise/mongodb-21/?text=mongodb#bws-code
enter your credentials and log in
it should redirect you to the proper details