remove deprecation message about passing path as array

backport commit 6b19e3dc0a3b303c541708860a6f9de2ae281b9d