nixos-install: fix error message consistency

The test is for path A but the error message says path B. Fix it.