Figure out the abbrev, version, and source by the directory name