Fix crash on startup when scala is missing