improved Configuration null pointer exception at deploy time