of1.3: fix error in port_mod and get_config_reply logic

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>