Fixed running of gtests which caused updates to be downloaded in release