bus: fix bus_context_check_security_policy checking