nsremote: Add additional check to handle assert disabled