Do if [].empty?. Avoid msfcli running as a job