Make sure playbook_dir variable is an absolute path

Fixes #8317