This reverts commit e856ac2320.
That commit was intended to fix --limit not honoring the playbook
directory as a source of inventory variable information. However, the
commit changes the inventory basedir to where it thinks the playbook
basedir which breaks finding inventory variables inside of inventory
directories #15093. Reverting this and looking for where limit might be
affecting the playbook basedir rather than the inventory basedir.