Ensure linked dirs is an array (#3)