Update getLongTitle to be project relative
Update getLongTitle to fall back to basename

Update getLongTitle to fall back to basename when the relative path
resolves to a blank string.
Merge pull request #2364 from themaninthesuitcase/cp-projectRelativeTabPath

Update getLongTitle to be project relative