Don't descent into target dirs

build_affected_books failed on my system due to an invalid target/..xml
file.

Don't descend into "target" subdirectories for determining which books
are affected.

Change-Id: Iaadaacd26f3e3542c6de55bff52f871404ba9c11
Merge "Don't descent into target dirs"