Fix some wal-e deployment bugs

@mbautin
@vnivargi