Minor bug in deploy gem