fix a bug and add some error message for hommization

1. fix a bug.
fix templatepath if USING_BLUEPRINTS is True

2. add some error message.
 1) can't find info.json
 2) info.json is invalid json format