Fix invalid exec param 'cmd'