Small fix to prevent null pointer exceptions on collection name when performing an inline map-reduce