common-functions.sh: fixed ceh_nix_install to check for installedness, not for realization.