Fixed model issue when all files in added subtree looks like directories