fix(loader): correctly check if source map is undefined
#641
+2
−2
undefined
#641