tests/libqtest: Print error instead of aborting when env variable is missing