Fix undefined method `rport' for the check command
Land #3195, check() fix