ensure pipeline commands that return null are all wrapped in Options