packaging: build: optionally use pep8 and pyflakes

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