Use absolute path to create package file

In case of composer usage, the script use ````chdir```` function to change the current directory to the temporary directory. Consequently, the package creation failed since it use a relative path.
I suggest to use the absolute path of final package file to fix that problem.

Note that I have encountered this problem on a Windows environment, but the problem is most likely present on Unix.