cache: Return error during default dir detection
cache: Return error during default dir detection

ar-jan/restic,ar-jan/restic,restic/restic,kurin/restic,restic/restic,kurin/restic,middelink/restic,middelink/restic