BASH detection does not work when launch by puppet