Fall back to default project in auto directives

When looking for the project name we were only looking for the :project:
option on the directive and not falling back to the default project if
that wasn't there. Here we use the default project and raise an error if
we don't find it.
Merge branch 'keyerror'
Add path check to change log

And reformat a little.
Merge branch 'changelog'