make validation workable inside book directories

For example with this patch the following is working without issues:

cd doc/src/docbkx/openstack-network-connectivity-admin
../../../../tools/validate.py

Change-Id: Ie6d610104987eb3be430f9afc4f4cd348a77297d
Merge "make validation workable inside book directories"