Change status _after_ calling StoreEntry::get_entry()
Change status _after_ calling StoreEntry::get_entry()

StoreEntry::get_entry() will return an error if the store entry's status
is "borrowed".

matthiasbeyer/imag,mario-kr/imag,matthiasbeyer/imag,mario-kr/imag