Only use TeamCity if specified.