Fix null ref exception in DirCacheCheckout Added missing null check for getDirCacheEntry(). This method may return null for example if the curernt entry is a subtree.