Fix issue 250

muddle distribute now works even when not in the top-level directory of
the build.

Also removed a couple of spurious "XXX " print statements.