Object reference not set

Added null checks to CssSourceMap.cs. Resolves #838