Bugfix for fedora/centos namespace

This is a patch from @phebal