Fix icon replacement in beta script

Change-Id: If7e076083306f9f44b61ee08377317f023bbb809