Fixes #8723 - Adds CPU, mem and disk size to discovered hosts index page

it was added in case of an empty result because of the next line but I'll try using an inner select and then it won't be needed