fix for required branch of pypuppetdb with new api support