Fix detection of codeship environment.