This is necessary because of a bug with PuppetDB. Without this patch you will get invalid relationship errors.