Remove duplicated code
CLOUDSTACK-7111 Empty commandlist must return a succes