Fix automatic package platform detection that was broken by the previous check-in (split file name off-by-one error).