Fixed annoying bug in behaviours which caused bot crash when path could not be found.