p-s: fix an error in components handling

and improve documentation

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