Fix byte-compilation error (and a typo, too)

```
Compiling file …/nrepl-20130728.710/nrepl.el at Mon Jul 29 12:47:58 2013

In nrepl-home-prefix-adjustment:
nrepl.el:461:38:Warning: malformed cond form: `resource'
nrepl.el:470:23:Error: Wrong type argument: listp, resource
```