Fix the coverity issues

This PR is to resolve issues raised by coverity.

BUG=XWALK-2928
You did not understand what I said -- initializing `manifest_type_` in the initializer list to a random value and then changing it in the constructor body makes no sense.
What I said is you need to initialize it _once_ in the initializer list to the correct value, `manifest_type`.