Remove references to unexistent files