ignore non-template files based on their directory
ignore non-template files based on their directory

Rather than looking at the file extension, look at the directory where
the files exist.

Change-Id: I1a2b668a285437478b19c1e965e1efb943f4f598
Signed-off-by: Doug Hellmann <0798ebecfb7bc4dfb9d0445c2fa030eb64e1fa1c@doughellmann.com>

openstack/openstack-manuals,openstack/openstack-manuals,openstack/openstack-manuals,openstack/openstack-manuals