Fix #4315 - Console routes with dashes are not understood.

Fix zendframework/zf2#4315