check for master in plugin dir