Additional PathTools method to fail fast if too many paths are generated.

Change-Id: I1420df426e52d413d6f65372e2d7e5b5a37125f2
Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>