Fixed undefined variable warning when installing the package for  first ...

...time