fixed reading patch-ids
removed tags from branches list
fixed apply hooks for every branch feature