Apple TV freezes after installing a repository from zip

I’m using a classic skin “Confluence” and when I go to “System”->“Settings”->“Add-ons”->“Install from zip file” and choose a file on USB flash drive the Apple TV stops reply to any key presses of remote and after some time Kodi goes off.
After rebooting it via Putty the repository that I was trying to install appears to be installed and working fine.

To get a better understanding of the problem you are experiencing we need more information from you. Please see How to submit a useful support request - General - OSMC for advice on how to help us.

I have deleted the repository and reinstall it via zip file again and the bug hasn’t been reproduced. It seems that this issue appears only when installing a repository from zip file for the first time.