CGIV-3145: Rather than saving to file which may get overridden, get installed version as sub command of version check