Clean up redundant code in pgbackman2cron and pgbackman_maintenance