Allow to set ref-prune setting in remote

This is for overriding the config setting, e.g. to explicitly disable pruning.