Don't add non-existent paths to PATH.

Also, re-organize things a bit to have all the script directories
together in order of precedence.