script/update-user-apps.sh: replace chase usage for realpath