detecting teamcity runs

detecting teamcity runs and picking keys accordingly