Fix #1816 - give more descriptive errors when .cabal file cannot be found

This will give better errors when a .cabal file cannot be found when:

- Adding a source dep,
- Building existing source deps,
- Creating package index,
- Installing user specified local pkgs.

The first patch is a simple tidy-up: removing some inline, repeated strings, and manual layout formatting.