Actually my frustration level with this task is high enough that I would also accept a cheat to put the parrot in my inventory if one exists.
I have a save prior to picking the lock in case of the bug. Question on that bug though, does autosave when you sleep also break the script? If so, is there a way to turn off autosave?