Ensure beta versions are not downloaded from pypi

Change-Id: I57bbfba4903f888e6e39c00f9a4a0dfa9834ee8d