Scripts: Adjust dependency checker to new plugins structure

Change-Id: If9fb1309335e61e9133ece8fd12c8033a447d6b4
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>