Adding method to return default package to targetPackage