Made check for OPTIMIZELY_PROJECT_ID a bit stronger.