fixed null pointer exception in case of not set build status