refactor: consider scenario when group is null
This is a fix for regression I introduce in !824 (merged)
The group can be null
.
you can test it with the following query
query getProjects{
project(fullPath:"viktomas/test-project"){
name
group{
id
}
}
}