Before: Installation script would check file exists on a custom directory
(like one given by -repo flag),
but write file on the current working directory (which maybe a different
dir) => the next time it will see no file exists and download again.
This commit fixed that.