Bug 951390 - Options in middleware setup should not allow empty

https://bugzilla.mozilla.org/show_bug.cgi?id=951390