Inaccurate mechanism drivers iteration fix.

Currently:
- l2_population mechanism enforced and could not be excluded.
- mechanism could lack of driver key which leads to failure.

This change fixes code syntax and increases flexibility for option.

Change-Id: I5921d29f77e4a9992d7527221ef5ade22fb17766
3 files changed