Validates package name, aborts if package is installed already, and makes working directory.