bash-completion: test for existence of files

check for Berksfile and cookbooks/ dir before acting on them