Handle exceptions of handle_options

For example if the specified configuration file is not available the
exception should be handled correctly.

Change-Id: Ib11f1a7aefd41a595eeb810d0c7d2fbf75d51c85
Merge "Handle exceptions of handle_options"