Fix spurious warning when script_req_route is not set