-fixed REPO uris, fixed hardcored chroot path, create missing BUILDED and BUILDED/sources directory, do not print errors with virtual packages, make use of the die() function, always export the current ARCH and always export the PKGTYPE