Fixed modman to work with package deployments

There's probably a very small chance that this will get merged, but I'm more interested to hear why not. :)