packaging: build: support disable environment validations

Change-Id: Ib37daa19b21b10cc0b1da9884c5abe40decd9445
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>