Fix dn_startswith

The dn_startswith function was using the wrong expression to extract
the last part of the DN.

Change-Id: I98eefe499523c3f769c449bf7efa7cb8bb05926d
Partial-Bug: #1365787
Merge "Fix dn_startswith"