bash: helper for WMF puppetmaster::self