Added check to make sure shells in /etc/shells exist