Add asserts to ensure hostId > 0.
Add asserts to ensure hostId > 0.

hostId is 1-based (e.g. pg1-*) so it should always be > 0.

pgbackrest/pgbackrest,pgmasters/backrest,pgmasters/backrest,pgbackrest/pgbackrest,pgbackrest/pgbackrest