Handle return values better from Filesystem::getMountBy*

`getMountByStorageId` and `getMountByNumericId` return an empty array on error, which should be detected to avoid possible errors. This PR also adds in some new logging points and throws to aid debugging