Improve cannot pipe error
Manually call check_command before eval, closes #2449