sp_MS_marksystemobject doesn't appear to be working
Why are you using the master prefix? That is saying "go execute this procedure in the context of master." 

Try just EXEC dbo.sp_WhereAmI; or even EXEC tempdb.dbo.sp_WhereAmI;...