added workaround for multi-rooted repository