rhbz870876 move project type check to a more efficient location