Issue #3536072 by aaronbauman: CurrentRouteMatch::getCurrentRouteMatch throws TypeError when current request is null
Closes #3536072