Avoid stepping on SYSROOT as a builder variable
Fix handling of packages and 'all' while PWD is inside a category.