Fix collection of prefixes to recurse
Where sandbox tries to compose the PATH variable, it iterates over direct dependencies and composes PATH using the 'prefix' parameters specified in dependencies.
This patch fixes this routine to make PATH prefix collection recursive, so when you have installed qmake into a non-standard prefix, Qt modules which do not depend directly on qtbase still find qmake in /opt/strange/path/bin