Added version checking before performing upgrade

- still needed for 3x apps that use git clone

Signed-off-by: Robert Tipton <tret@tretflix.com>