Fix get-bug-attachments script.
Merge branch '1.4.x'