set options to null if empty

Signed-off-by: Suhayb El Wardany <me@suw.me>