remove un-needed error output from dev-helper

added test to prevent looping over direcories that don't exist