Test if platform is empty not null to give it the local platform