resource: fix source index inconsistency when a directory is renamed or moved out
resource: fix source index inconsistency when a directory is renamed or moved out

mikymod/crown,mikymod/crown,mikymod/crown,galek/crown,dbartolini/crown,galek/crown,dbartolini/crown,dbartolini/crown,dbartolini/crown,mikymod/crown,galek/crown,galek/crown