Add patch list to client for recording files that require update.a
Fix patch_list declaration and adjust missing condition.

patch_list was causing a BAD_ACCESS since the patch_client is allocated
with malloc, which doesn't create the memory for patch_list.