Moved get_stack_template definition from scripts.stack.launch to backends