fix getGroupSubDir

getGroupSubDir did not return anything. This patch adds the missing echo
statement.