add package name validation

fixes #59