The != null is a paranoid check.
The isEmpty may happen, if the user makes a mistake like kiji install --kiji=${kiki} and $kiki has not been defined.