Sometimes the app will run in directories with numbers.

A fix related to the investigation of #280 but probably not the root cause.