Fix broken regex for check_enabled on Gentoo (port from joffotron fork)