Fix install bee script

Better handling if device definition not found