only instantiate controller for the correct environment

see:
https://github.com/EventedMind/iron-router/issues/1008