Support release-specific build environments

/var/cache/base-precise-amd64.cow will need to be renamed to
base-precise-grizzly-amd64.cow after this change.

Change-Id: I104d04e85dd61a40723c08cabc5b09788ac00a11
Merge "Support release-specific build environments"