Fixed getAbsolutePath case when path is "0"

Make sure to correctly check for string emptiness when the passed path
is "0".
Merge pull request #8572 from owncloud/core-getabsolutepathwithzero

Fixed getAbsolutePath case when path is "0"