fix releasetools.py

Change-Id: I82b6d2dc78afa18d1b9895d796b9833e7f58a533