Improve debugging of missing elements.

Print the checked directory when cannot find an element.

Change-Id: I2c1f74e4975e66b6ec9d4122c02067bc2c473620
Merge "Improve debugging of missing elements."