Fix catkin build type detection

catkin_lint failed to detect non-catkin type packages if
multiple export tags were defined and the build_type
tag was not the first one.