fix for nailgun-api 4.1

Change-Id: I21b1073cac9f4048f2a72bb3369c375c0e6ceb73