Exclude pumphouse-ui dir from flake8 checks
Check if image size is known to avoid divison by zero