Fix for NULL pointer dereference if options string is also NULL
In products_match() not all code paths assign 'options' to an empty string, so it is possible that it's still NULL by the time it reaches the backend.
See discussion https://www.riscosopen.org/forum/forums/4/topics/19249