Fix typo in Project permission code

This is a quick fix that will soon be superseded by the changes in
1c68d81.