add a getRootDirectory to ProjectPackage from Package