ENYO-1891: do not crash when no PGB token or user is defined

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>