get_app_name.sh: write pkg's name too