Unai Emery was made to work hard for his first Ligue 1 victory in charge of Paris St Germain as last season's champions escaped the island of Corsica with all three points thanks to a 1-0 win against Bastia.