smurf: Ensure starlink has been initialised in starutil.py

Do this by checking that KAPPA_DIR is defined.