if we do it in check status this can be removed too and we do not even depend on the paths.xml being loaded already here.