Debian puppet 4.8.x packages have a different naming convention and place files into new locations. The Apache backend configuration of puppet 4 masters will need to be be changed accordingly.
old path: /usr/share/puppet/rack/puppetmasterd/
new path: /usr/share/puppet/rack/puppet-master/