Protect against no 'current' project version

Update the selectCurrent function of projectDocumentationWidget.js to
deal with a project that had no 'current' version.

Prior to this commit the selectedIndex of such projects would be
`undefined` causing a template render error that prevented the drop-down
from being displayed.

[Finishes #56463648]