Expand playbook_dir in time for loading tasks

Fixes #9618