If your advisor has recommended you should finish your PhD, you should finish your PhD. If he/she is saying "I don't think you have the wide knowledge base to properly understand this subject", then you start taking more classes. My advisor is talking to me about taking philosophy of science and software studies. They aren't critical path by any stretch of the imagination. But he thinks I need it.