Simplify the PACKAGES_ROOT code

Submitted by:	marino