Add support to repush an app for app-cache testing

[#82289072]
use quotes in string comparisons in bash