Fixed a bug where you had to ran pegasus in the directory of the build script when no root was specified.
Remove os.getcwd() -- the system should manage its virtual working directory.