Avoid slow construct.Union()
Be aware of file removed by upgrading or removing a package
realdir() filesystem method; use it to record dependencies