Wrap long line

Signed-off-by: Michal Čihař <michal@cihar.com>
Fix fallback value

Signed-off-by: Michal Čihař <michal@cihar.com>
Simplify conditions a bit

Signed-off-by: Michal Čihař <michal@cihar.com>
Override pylint warning

Signed-off-by: Michal Čihař <michal@cihar.com>