Fix #193 by basing path off of warehouse not warehouse.application
Merge pull request #206 from dstufft/resolve-circular-import

Fix #193 by basing path off of warehouse not warehouse.application