Added some more debugging to try and figure out why the build is failing - doesn't make much sense, it looks like it's losing its map