Check for '$SUDO_USER = engine' instead for 'engi connect host root'