[sr-dev] git:5.1:5d738714: core: check for optarg before passing it to external library (coverity report)