Fixed flake8 check

Seems that it was broken and wasn't checking files that were committed
to the repository.

Change-Id: Ibee6bdea47141c44e998453493eabd01f75e1735