BZ-10579: Correcting path in code which detects if share is supported.