bee-cache: Fix bug when --tmpinstall is pointing to local directory

Only care about regular files when tmpinstalling...
Merge branch 'fixes'

* fixes:
  bee-cache: Fix bug when --tmpinstall is pointing to local directory