Prevented cache update in offline mode.

Issue: ascom-au/install-iso#3

Signed-off-by: Nathan Callister <ncallister@iwsoftware.com.au>