The following file does not exist in 4.0.8: vault/core/controller/install/upgradepath/steps/4/0/7/XF130/xf.php
I suspect you never deleted the install directory after your last upgrade. Please delete the vault/core/controller/install directory and re-upload the one for the current version. Hopefully the installation isn't borked.