Add null check for when getOps is disabled
Add null check for when getOps is disabled

If getOps isn't available our tests will fail. This patch adds a simple
check for getOps returning undefined.

BUG=275

Review URL: https://codereview.appspot.com/10708045
benschmaus/catapult,zeptonaut/catapult,catapult-project/catapult,dstockwell/catapult,catapult-project/catapult-csm,benschmaus/catapult,catapult-project/catapult-csm,SummerLW/Perf-Insight-Report,vmpstr/trace-viewer,danbeam/catapult,SummerLW/Perf-Insight-Report,benschmaus/catapult,modulexcite/catapult,0x90sled/catapult,zeptonaut/catapult,modulexcite/catapult,benschmaus/catapult,SummerLW/Perf-Insight-Report,catapult-project/catapult,catapult-project/catapult-csm,sahiljain/catapult,catapult-project/catapult,SummerLW/Perf-Insight-Report,catapult-project/catapult,danbeam/catapult,benschmaus/catapult,sahiljain/catapult,sahiljain/catapult,scottmcmaster/catapult,catapult-project/catapult,danbeam/catapult,sahiljain/catapult,modulexcite/catapult,catapult-project/catapult-csm,scottmcmaster/catapult,vmpstr/trace-viewer,danbeam/catapult,vmpstr/trace-viewer,dstockwell/catapult,dstockwell/catapult,catapult-project/catapult-csm,catapult-project/catapult,catapult-project/catapult-csm,sahiljain/catapult,catapult-project/catapult,0x90sled/catapult,0x90sled/catapult,benschmaus/catapult,benschmaus/catapult,catapult-project/catapult-csm,SummerLW/Perf-Insight-Report,scottmcmaster/catapult,dstockwell/catapult,sahiljain/catapult,SummerLW/Perf-Insight-Report,zeptonaut/catapult