Set retcode to EPKG_FATAL on failure.