Dump completion initialisation cache to $XDG_CACHE_HOME
Don't unset cmd_exists definition

Causes problems with sudo, as the function is called later.