Updates State#resolve to handle null or undefined paths.
Adds repository field to package.json.