The nightly (source) package builder is currently hardcoded to trunk.
It should support building any branch, ie 0.11 and 0.12 in the future.
Trying something like
b = props.getProperty("branch")
if b == "default":