p-r: fix section caching

Signed-off-by: Andreas Beckmann <anbe@debian.org>