Add option to specify branch in postgres_replication_check

This will help to pass values from parent build projects.