[VFS-490] Dont match file extensions to determine mime types of directories

The problem that the VFSClassLoader tries to expand directories which follow the *.jar pattern are due to the file type detection based on file names is also reacting on folders. This is a possible fix for VFS-490 therefore.