Yeah, didn't think of that.  Making code depend on the current location of the file in the repo isn't great either.  Guess that next person who wants to test a custom module on test.commcarehq.org will run into this issue again.