Do not update cache in non-git dir