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 was not installed on my operating system, is there a more portable way to do the same ?