If recording-method is pcap, then proc is zero-initialized, so meta_filepath is empty. This shows many logs such as: [core] Failed to open recording metadata file '(null)' for writing: Bad address Prevent them by returning earlier. Closes #1889 Change-Id: Ifeb3038f9a5c0bd6a9b7dd92842dd61783b40263pull/1897/head