getreportopt: remove needless if
getreportopt: remove needless if

tomviner/pytest,RonnyPfannschmidt/pytest,tomviner/pytest,nicoddemus/pytest,The-Compiler/pytest,pytest-dev/pytest,alfredodeza/pytest,nicoddemus/pytest,The-Compiler/pytest,Akasurde/pytest,markshao/pytest