Don't expand empty [paths] so later interpolation can do the right thing.
Example:
[paths]
default =
default-push = %(default)s
#header#<title>Mercurial Error</title></head><body><h2>Mercurial Error</h2><p>An error occured while processing your request:</p><p>#error|escape#</p>#footer#