Fixed in [9fb41ed228]. Just one remark: It's better to check 8.6 before 8.5 implicitly (the only two supported versions), otherwise if both are installed the one chosen depends on the order produced by the ls command.