Fix libraries/:name

Now it should be correct. forgot that getOne returns Object if it finds
an entry...