remove null options guard

no need to check for null options here as the first line of the
function already assumes an options object.