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.
@dalgaaf maybe it would be more robust to compare the inode number of the file instead of its path ?