Refactor download fucntion

Some packages were being downloaded to wrong location. For example "gcc-core" is
supposed to be found at

    release/gcc/gcc-core

However it was being downloaded at

    release/gcc-core

Packages will now be downloaded as directed by "setup.ini"