use a proper gitignore
make sure we are not passed null objects