There should be a way to either prevent the caching of the Graal directory structure, to abort it, or to reset the directory without the scan actually happening. Perhaps through a dialog or command line option.
Additionally, caching the directory should ignore all errors (permissions, etc.) instead of throwing it.