Compute device nodes from env var PGR_VALIDATE_SN

Signed-off-by: Bart Van Assche <bvanassche@acm.org>