add some internal utilities needed to get at dependencies of installed packages