Use canonical parser options when getting targets

Change-Id: I767913844a15f1b2d5859d84b799e7350675c398