Make execute permission check more explicit