IDE-1073

Fixed auto-deploy not working on remote server,
together with liferay-plugins fix LPS-37923.