Fix setup.sh to import core library each time

Updated setup.sh script to re-import package during installation
if package is already imported.

Change-Id: I98505b806bd4ae57183aa515054e31168443a1c7
Closes-bug: #1338951