Prevent crash when paths are not defined