changed handling of packaged dependencies (use file from location
instead from temp folder)