misc: fix error handling in punt_replicate