Handle unknown system name in build and pgm

Signed-off-by: Franck Jullien <franck.jullien@gmail.com>