fix null pointer exception

4 jobs for import-api-adaptions in 5 minutes and 44 seconds (queued for 47 seconds)