Reimplement collisions checking
Current code for collisions checking can be simplified.
Also fix problem when package is updated and it drops some file. Such file should be removed.
Current code for collisions checking can be simplified.
Also fix problem when package is updated and it drops some file. Such file should be removed.