Class RefDirectory is now in org.eclipse.jgit.internal.storage.file. There has to be a better way to do this...