Enables source map tracking only if sourceMap is not falsy.