Fix some issues with make check

Fix path handling and check for default ceph keyring file in /etc/ceph e.g. on devel systems with existing configurations.
realpath has its own package for some reason. I do have readlink from coreutils though.