src/test_detect.py: fix broken tests introduced by 61b740fbb3b7b9fb5289e6f65fd2b1c9dc6e0d8e
src/test_detect.py: fix broken tests introduced by 61b740fbb3b7b9fb5289e6f65fd2b1c9dc6e0d8e

redhat-cip/edeploy,enovance/edeploy,lebauce/edeploy,enovance/edeploy,redhat-cip/edeploy,lebauce/edeploy,redhat-cip/edeploy,lebauce/edeploy,redhat-cip/edeploy,enovance/edeploy,enovance/edeploy,lebauce/edeploy