fixed getAppPackageName.sh script in order to run inthe path