Use repo to figure out project deployment paths

https://github.com/CyanogenMod/hudson/commit/74f64f4965dbd764a9d94ef9c7b7842c21fe4aa6