raise error when given unknown options at formula install

Fixes #8937