do not attempt to generate a dynamic route if a uri or route is set

@dantleech i wanted to add a functional test .. but there is some strange issue with composer install:

http://pastebin.com/7sqfv11G