Detect & handle invalid install where file vanished somehow.

dedicated to @Gagaro