Support moduledir with relative path

When using the moduledir directive in a Puppetfile, the path is now
relative to the repository basedir, except if it begins with a slash.