Reverting back to 0.15 version of hugo fixed the issue.
Note that Ubuntu 16.04 LTS has 0.15 version of hugo.
After trying multiple older versions, I found out that this breakage happened in 0.32 version.
My guess is that it is related to Page Bundles feature. Still investigating.