fix undefined index warning in router
Merge pull request #7889 from owncloud/routing-warning

Fix undefined index warning in router