cmdrecorder: fix for pause crash in case of empty list