Fix error in playbook handling