Index Fragmentation Monitoring: Can I make this query faster?
I would suggest reducing the number of joins in your loop.  You are already hitting sys.indexes and sys.schemas in the your first query to build your temp table.  It would be advisable to just grab whatever additional fields you need and throw them into your temp table as well.

You want to make your query that you are looping through in your cursor as efficient as humanly possible.  You might even want to try and get the data you needed from sys.objects in there too.  

Speaking of cursor you should consider using a fast_forward cursor as well.  It has a smaller footprint and is a bit more efficient.