Fix parsing of ofp-role on startup

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
Acked-by: Srijan Mishra <srijan23mishra@gmail.com>