Making the teamcity service detection smarter