I20210804-1800
Added guard for IPath.lastSegment() that can return null. Change-Id: I5bc5246b41c4de867389634dd6c4a9845542ff9a Signed-off-by: Andrey Loskutov <loskutov@gmx.de> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/183662 Tested-by: Platform Bot <platform-bot@eclipse.org>