fixed the handling of stack name on deploy and execute commands