core: fix null instanceof Service
crash
#20
+2
−1
Merged
null instanceof Service
crash
#20